package com.lrkj.payfee.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.lrkj.common.annotation.Excel;
import com.lrkj.common.core.domain.BaseEntity;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 催缴记录对象 tb_require_record
 *
 * @author yajun_ren
 * @date 2022-03-24
 */
@Data
public class RequireRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private String id;

    /** 催缴ID */
    @Excel(name = "催缴ID")
    private String requireId;

    /** 客户ID */
    @Excel(name = "客户ID")
    private String customId;

    /** 房间ID */
    @Excel(name = "房间ID")
    private String roomId;

    /** 催缴内容 */
    @Excel(name = "催缴内容")
    private String requireContent;

    /** 催缴时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "催缴时间", width = 30, dateFormat = "yyyy-MM-dd")
    private String requireTime;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    /**业主名称*/
    private String customName;

    /**房间名称*/
    private String roomName;

    /**业主手机号*/
    private String cellPhoneNumber;

    /**单元名称*/
    private String unitName;

    /**小区名称*/
    private String communityName;

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("requireId", getRequireId())
            .append("customId", getCustomId())
            .append("roomId", getRoomId())
            .append("requireContent", getRequireContent())
            .append("requireTime", getRequireTime())
            .append("status", getStatus())
            .toString();
    }
}
